
//系统目录 / 药品加成率 接口相关的函数
import request from "../../untils/request.js"

/**
 * 
 *  post
 *  
 */

//新建药品加成率
export const docMark = (data) => {
    return request.post("/outpatient/docMark", data )
}

/**
 * 
 * put
 *  
 */

//修改药品加成率
// export const getInventPage = (data) => {
//     return request.get("/outpatient/page", data )
// }

/**
 * 
 * get 
 *  
 */

// 点击批次号显示
export const getBatchNumber = (params) => {
    return request.get("/outpatient/getBatchNumber", { params } )
}
// 点击效期调整
export const getExpyDate = (params) => {
    return request.get("/outpatient/getExpyDate", { params } )
}
// 更新有效日期
export const updateDate = (params) => {
    return request.get("/outpatient/updateDate", { params } )
}
// 西药药品明细流向
export const chgDetails = (params) => {
    return request.get("/outpatient/chgDetails/page", { params } )
}
// 11
export const getInventPage = (params) => {
    return request.get("/outpatient/page", { params })
}

/*
 * 
 * DELETE 
 *   
 */   

// 暴露
export default{
	getInventPage,chgDetails,
	
	// 效期设置相关
	getBatchNumber,getExpyDate,updateDate
}